<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  
<display:table id="villagerBean" name="villagerBeanList" class="displaytable" export="false" pagesize="500"
	requestURI="javascript:ajaxSubmitFormPaging('#',$('#divSearch'),'waterBillManage_searchVillager.action');" >
    <display:column title="ลำดับ" sortable="true" style="width:5px" >
    	 <c:out value="${villagerBean_rowNum}"/>
    </display:column>
    <display:column title="โซน" sortable="true" >
    	${fn:escapeXml(villagerBean.zone.zoneId)} 
    </display:column> 
    <display:column title="ที่อยู่" sortable="true" >
    	${fn:escapeXml(villagerBean.villAddress)} 
    </display:column>
    <display:column title="มิเตอร์" sortable="true" >
    	${fn:escapeXml(villagerBean.villMeterNumber)} 
    </display:column> 
    <display:column title="ชื่อ - สกุล" sortable="true" >
    	${fn:escapeXml(villagerBean.villFname)} ${fn:escapeXml(villagerBean.villLname)} 
    </display:column> 
    <display:column title="" sortable="false" style="width:5%" class="textLabel center" >
	   <input class="btnEdit" type="button" title="แก้ไข" value=" " onclick="villagerEdit('${villagerBean.villMeterNumber}')"/>
	   <input class="btnDelete" type="button" title="ลบ" value=" " onclick="villagerDelete('${villagerBean.villMeterNumber}')"/>
    </display:column>
</display:table>
